package com.wildwolf.project.wildwolf.config;


public final class AppConfig {
	public static final String FORMAT_PATTERN ="yyyy-MM-dd";
	public static final String XMPP_SERVER = "192.168.0.151";
	public static final String ENCOUNTER_SERVLET_API = "http://192.168.0.151:9090/plugins/encounter/encounterservlet";
	public static final class IMAGE {
		public static final String JPG = ".JPG";
		public static final String PNG = ".PNG";
	}

	public static final class FILETYPE {
		public static final String IMAGE = "image/*";
	}

	/**
	 * 偶遇密钥
	 */
	public static final String ENCOUNTER_SECRET_KEY = "C580CEAB23AFC31FA03FEBFEDAF7B5440AFD86E7";

	public static final class RESULT_CODE {
		public static final int NONE = 0;
		public static final int TAKE_PHOTO = 1;
		public static final int CHOOSE_FILE = 2;
		public static final int TAIL_PHOTO = 3;
	}

	public static final class NOTIFICATION_ID {
		public static final int NOTIFICATION_STATUS_ID = 100;
	}

	public static final class MAP {
		public static final String BAIDU_API_KEY = "C580CEAB23AFC31FA03FEBFEDAF7B5440AFD86E7";
	}

	public static final class AdressBookKey {
		public static final String ENCOUNTER_GROUP_PREFIX = "偶遇联系人";
		public static final String PHONE_GROUP_PREFIX = "手机联系人";
	}
	public static final class GENDER{
		public static final int GENDER_MALE = 1;
		public static final int GENDER_FEMALE = 0;
	}
	
	public static final class REGISTERKEY {
		public static final String ENCOUNTER_REGISTER_ACCOUNTNAME = "register_accountName";
		public static final String ENCOUNTER_REGISTER_PASSWORD = "register_password";
		public static final String ENCOUNTER_REGISTER_EMAIl = "register_email";
		public static final String ENCOUNTER_REGISTER_USERNAME = "register_userName";
		public static final String ENCOUNTER_REGISTER_GENDER = "register_gender";
		public static final String ENCOUNTER_REGISTER_BIRTHDAY = "register_birthday";
		public static final String ENCOUNTER_REGISTER_FRIENDSPURPOSE = "friendsPurpose";
		public static final String ENCOUNTER_REGISTER_HEIGHT = "register_height";
		public static final String ENCOUNTER_REGISTER_WEIGHT = "register_weight";
		public static final String ENCOUNTER_REGISTER_CONSTELLATION = "register_constellation";
		public static final String ENCOUNTER_REGISTER_FAVOUR = "register_favour";
		public static final String ENCOUNTER_REGISTER_INTERESTVALUEMAP = "register_interestValueMap";
		public static final String ENCOUNTER_REGISTER_INTRODUCTION = "register_introduction";
	}
	
	public static final class SERLVERT_REPONSE{
		/**
		 * 请求返回代码Key
		 */
		public static final String ENCOUNTER_REPONSE_CODE_KEY = "ERCKEY";
		/**
		 * 请求返回代码消息Key
		 */
		public static final String ENCOUNTER_REPONSE_MESSAGE_KEY = "ERMKEY";
		
		public static final int ENCOUNTER_USERNAME_EXISTS = 0;
		
		public static final int ENCOUNTER_USER_REGISTRATION_FAILED =1;
		/**
		 * ENCOUNTER_USER_REGISTRATION_SUCCESS
		 */
		public static final int ENCOUNTER_USER_REGISTRATION_SUCCESS =2;
		/**
		 * ENCOUNTER_REQUEST_METHOD_ERROR
		 */
		public static final int ENCOUNTER_REQUEST_METHOD_ERROR = 3;
		/**
		 * ENCOUNTER_REQUEST_DENY_ACCESS
		 */
		public static final int ENCOUNTER_REQUEST_DENY_ACCESS =4;
		/**
		 * ENCOUNTER_UNKNOWN_ERROR
		 */
		public static final int ENCOUNTER_UNKNOWN_ERROR = 5;
	}
	
	public static final class CONSTELLATION{
		
		String constellationName;
		
		Integer constellationId;
		public CONSTELLATION(String constellationName, Integer constellationId) {
			this.constellationName = constellationName;
			this.constellationId = constellationId;
		}
		
	}
	
}
